package com.yisheng.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {
	
	@RequestMapping("index")
	public String index() {
		return "index";
	}
	@RequestMapping("dangao")
	public String dangao() {
		return "dangao";
	}
	@RequestMapping("bingqiling")
	public String bingqiling() {
		return "bingqiling";
	}
	@RequestMapping("xiawucha")
	public String xiawucha() {
		return "xiawucha";
	}
	@RequestMapping("contact")
	public String contact() {
		return "contact-1";
	}
	@RequestMapping("test")
	@ResponseBody
	public String test() {
		return "hello";  
	}


}
